package cn.wolfcode.p2p.util;

public class JSONResultUtil {
    /**
     * 获取jsonResult
     * @return jsonResult
     */
    public static JSONResult jsonResult(){
        return new JSONResult();
    }

    public static JSONResult jsonResult(String message){
        JSONResult jsonResult = new JSONResult();
        jsonResult.setMsg(message);
        return jsonResult;
    }
}
